package com.yimi.yinhepda.views.main.home_module.request;

/**
 * @author 000432
 * @date 2017/4/6
 * 登录请求
 */
public class LoginRequest {
    /**
     * 公司code
     */
    private String compCode;
    /**
     * 工号
     */
    private String workNum;
    /**
     * 密码
     */
    private String password;
    /**
     * 验证码
     */
    private String captcha;
    /**
     * 是否需要验证码
     */
    private boolean needVCode;
    /**
     * 网页端-1，IOS-2,PDA-3,Android-4,客户端-5
     */
    private String appType;
    /**
     * 传设备ID
     */
    private String appCode;


    public LoginRequest(String compCode, String workNum, String password, String captcha, boolean needVCode, String appType, String appCode) {
        this.compCode = compCode;
        this.workNum = workNum;
        this.password = password;
        this.captcha = captcha;
        this.needVCode = needVCode;
        this.appType = appType;
        this.appCode = appCode;
    }

    public LoginRequest() {
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public boolean isNeedVCode() {
        return needVCode;
    }

    public void setNeedVCode(boolean needVCode) {
        this.needVCode = needVCode;
    }

    public String getCompCode() {
        return compCode;
    }

    public void setCompCode(String compCode) {
        this.compCode = compCode;
    }

    public String getWorkNum() {
        return workNum;
    }

    public void setWorkNum(String workNum) {
        this.workNum = workNum;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }
}
